//
//  KRRecipeInfo.h
//  cookBook
//
//  Created by kuroken on 16/1/23.
//  Copyright © 2016年 kuroken. All rights reserved.
//

#import <Foundation/Foundation.h>
@class KRRecipeTags, KRRecipeSteps, KRStuff, KRRecipeComment;

@interface KRRecipeInfo : NSObject

/*
 "RecipeId": 243702,
 "Cover": "http://recipe0.hoto.cn/pic/recipe/l/f6/b7/243702_753e43.jpg",
 "Title": "虾仁瓤鸡腿",
 "Intro": "虾仁瓤鸡腿，鲜嫩美味，营养丰富，鸡腿免去了油炸，用清蒸的烹制方法更健康营养，鸡腿和虾仁融为一体，更加鲜美无比。",
 "CookTime": "30分钟-1小时",
 "ReadyTime": "10-20分钟",
 "Tips": "瓤虾仁的时候，要填满鸡腿，往鸡腿里塞紧，这样蒸出来就很饱满。",
 "UserName": "香儿厨房",
 "FavoriteCount": 76,
 "PhotoCount": 0,
 "ReviewTime": "2012-08-13",
 "UserId": 486606,
 "Avatar": "http://avatar0.hoto.cn/ce/6c/486606_185.jpg?v=10",
 "ViewCount": 2868,
 "Type": 1,
 "UserCount": "3-4人",
 */

/** RecipeId 食谱ID */
@property (nonatomic, copy) NSString *recipeID;
/** Cover 食谱封面URL*/
@property (nonatomic, copy) NSString *cover;
/** Title 食谱标题*/
@property (nonatomic, copy) NSString *title;
/** Intro 食谱简介*/
@property (nonatomic, copy) NSString *intro;
/** CookTime 制作时间*/
@property (nonatomic, copy) NSString *cookTime;
/** Tips 小贴士*/
@property (nonatomic, copy) NSString *tips;
/** UserName 作者用户名*/
@property (nonatomic, copy) NSString *userName;
/** FavoriteCount 喜欢人数*/
@property (nonatomic, copy) NSString *favCount;
/** ReviewTime 原创时间*/
@property (nonatomic, copy) NSString *reviewTime;
/** UserId 作者ID*/
@property (nonatomic, copy) NSString *userID;
/** Avatar 作者头像URL*/
@property (nonatomic, copy) NSString *avatar;
/** UserCount 用餐人数*/
@property (nonatomic, copy) NSString *userCount;
/** ReadyTime 准备时间*/
//@property (nonatomic, copy) NSString *readyTime;
/** PhotoCount */
//@property (nonatomic, copy) NSString *photoCount;
/** ViewCount 浏览人数*/
//@property (nonatomic, copy) NSString *viewCount;
/** Type */
//@property (nonatomic, copy) NSString *type;

/** Tags 相关标签 */
@property (nonatomic, strong) NSArray<KRRecipeTags *> *tagsArray;

/** Steps 步骤 */
@property (nonatomic, strong) NSArray<KRRecipeSteps *> *stepArray;

/** Stuff 食材 */
@property (nonatomic, strong) NSArray<KRStuff *> *stuffArray;

/*
 "IsLike": 0,
 */
/** IsLike 是否喜欢 */
@property (nonatomic, assign, getter=isLike) BOOL like;

/*
 "CommentCount": "13",
 */
/** CommentCount 评论总数 */
@property (nonatomic, copy) NSString *commentCount;

/** CommentList 评论 */
@property (nonatomic, strong) NSArray<KRRecipeComment *> *commentListArray;

/*
 "ProductCount": 0,
 "Product": [ ],
 "Vip": 1,
 "HasVideo": 0,
 "Duration": "",
 "Collection": "76喜欢   2868浏览",
 "VideoCover": ""
 
 "ProductCount": 0,
 "Product": [],
 "Vip": 0,
 "HasVideo": 1,
 "Duration": "播放时长 02:17",
 "Collection": "播放时长 02:17",
 "VideoCover": "http:\/\/recipe0.hoto.cn\/pic\/recipe\/vc\/a0\/a2\/1024672_dcd51b.jpg"
 */
/** Vip 是否VIP */
@property (nonatomic, assign, getter=isVip) BOOL vip;
/** HasVideo 是否有视频 */
@property (nonatomic, assign, getter=hasVideo) BOOL video;
/** Duration 播放时长 */
@property (nonatomic, copy) NSString *duration;
/** VideoCover 视频封面URL */
@property (nonatomic, copy) NSString *videoCover;

@end
